/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'
const testRouter = {
  path: '/test-methods',
  component: Layout,
  redirect: 'noredirect',
  name: 'TestMethods',
  meta: {
    title: '方法运用',
    icon: 'system',
    iconClass: 'budget_system_bettings'
  },
  children: [
    {
      path: '/echarts',
      component: () => import('@/views/second'),
      name: 'ECharts',
      redirect: 'noredirect',
      meta: { title: '图表', icon: 'global_parameter', noCache: true },
      children: [
        {
          path: 'echarts1',
          component: () => import('@/views/test-methods/echarts/echarts1'),
          name: 'ECharts1',
          meta: { title: '图表1', noCache: true }
        },
        {
          path: 'echarts2',
          component: () => import('@/views/test-methods/echarts/echarts2'),
          name: 'ECharts2',
          meta: { title: '图表2', noCache: true }
        }
      ]
    }
  ]
}

export default testRouter
